package ch.soreco.training.mail.MailMain;

/**
 */
@SuppressWarnings("all")
@javax.annotation.Generated(comments="This is the java file of the ivy data class MailMainData", value={"ch.ivyteam.ivy.scripting.streamInOut.IvyScriptJavaClassBuilder"})
public class MailMainData extends ch.ivyteam.ivy.scripting.objects.CompositeObject
{
  /** SerialVersionUID */
  private static final long serialVersionUID = 4617743216062743460L;

  private transient java.util.List<mailApplication.Mail> mailList;

  /**
   * Gets the field mailList.
   * @return the value of the field mailList; may be null.
   */
  public java.util.List<mailApplication.Mail> getMailList()
  {
    return mailList;
  }

  /**
   * Sets the field mailList.
   * @param _mailList the new value of the field mailList.
   */
  public void setMailList(java.util.List<mailApplication.Mail> _mailList)
  {
    mailList = _mailList;
  }

  private mailApplication.Mail selectedMail;

  /**
   * Gets the field selectedMail.
   * @return the value of the field selectedMail; may be null.
   */
  public mailApplication.Mail getSelectedMail()
  {
    return selectedMail;
  }

  /**
   * Sets the field selectedMail.
   * @param _selectedMail the new value of the field selectedMail.
   */
  public void setSelectedMail(mailApplication.Mail _selectedMail)
  {
    selectedMail = _selectedMail;
  }

  private transient java.lang.Long id;

  /**
   * Gets the field id.
   * @return the value of the field id; may be null.
   */
  public java.lang.Long getId()
  {
    return id;
  }

  /**
   * Sets the field id.
   * @param _id the new value of the field id.
   */
  public void setId(java.lang.Long _id)
  {
    id = _id;
  }

}
